package com.itheima.d15_extends_constructor;

public class Animal {
    public Animal(){
        System.out.println("-----Animal无参构造器执行了-----");
        }
    public Animal(String n){
        System.out.println("-----Animal有参构造器执行了-----");
    }

}
